Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ID conversion check in CharacterFactory #551

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

glmdgrielson
Copy link
Contributor

This should fix issue #536.

✅ Changes

  • fix: Fix JSON having invalid/missing ID values.

🌄 Context

As per issue #536, Fari currently makes no checks on the imported JSON and accepts it without question.

🔒Checklist

  • I tested my work on the feature environment

💅 Examples

  • A test case has been added in CharacterFactory.test.tsx.

I know this is bad practice, but the whole point of this test is that
it's working on bad data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants